import request from "@/request/request";
export function UserListJS(UserPageVo) {
    return request ({
        method:"post",
        url:"/customer/UserList",
        data:UserPageVo
    })
}
export function RoleListJS() {
    return request ({
        method:"get",
        url:"/customer/RoleList",
    })
}
export function UserStatusAltJS(uid) {
    return request ({
        method:"post",
        url:"/customer/UserStatusAlt",
        params:{uid:uid}
    })
}
export function UserDelJS(uid) {
    return request ({
        method:"post",
        url:"/customer/UserDel",
        params:{uid:uid}
    })
}
export function UserAddJS(user) {
    return request ({
        method:"post",
        url:"/customer/UserAdd",
        data:user
    })
}
export function UserUpdateJS(user) {
    return request ({
        method:"post",
        url:"/customer/UserUpdate",
        data:user
    })
}